<template>
  <div>
    <h3>父组件{{ num }}</h3>
    <p>------------------------</p>
    <!-- <son v-model="num" />
    <son :value="num" @input="val=>num=val" /> -->
    <p>=======================================</p>
    <son :a.sync="num2" :b.sync="num3" @update:a="val=>num2=val" @update:b="val=>num3=val" />
  </div>
</template>

<script>
import Son from './Son.vue'
export default {
  components: { Son },
  data() {
    return {
      num: 100,
      num2: 200,
      num3: 300
    }
  }

}
</script>

<style>

</style>
